package com.d3works.apps.quality.service.app;

import com.d3works.apps.base.db.AppQuality;
import com.d3works.apps.base.db.repo.AppQualityRepository;
import com.d3works.apps.base.service.app.AppBaseServiceImpl;
import com.google.inject.Inject;

public class AppQualityServiceImpl extends AppBaseServiceImpl implements AppQualityService {

  private AppQualityRepository appQualityRepo;

  @Inject
  public AppQualityServiceImpl(AppQualityRepository appQualityRepo) {
    this.appQualityRepo = appQualityRepo;
  }

  @Override
  public AppQuality getAppQuality() {
    return appQualityRepo.all().fetchOne();
  }
}
